From c6ac3e9ef51afc5e424b7745c8eda1ba76e4b367 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 6 Sep 2006 06:40:52 +0000 Subject: [PATCH] (Fformat_time_string): Use make_unibyte_string to make a Lisp string from the result of emacs_memftimeu call. --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 2c392df564e..1b89bb3668c 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1694,7 +1694,7 @@ For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z". */) SBYTES (format_string), tm, ut); if ((result > 0 && result < size) || (result == 0 && buf[0] == '\0')) - return code_convert_string_norecord (make_string (buf, result), + return code_convert_string_norecord (make_unibyte_string (buf, result), Vlocale_coding_system, 0); /* If buffer was too small, make it bigger and try again. */ -- 2.30.2